<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout" layout:decorate="~{layout/storelayout}" >
<head>
    <title>会员管理系统</title>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link th:href="@{/static/layui/css/layui.css}" rel="stylesheet" />
    <script th:src="@{/static/layui/layui.js}" type="text/javascript"></script>
</head>
<body>

<!-- 查询会员活动页面  -->
<div class="login-main">
    <div layout:fragment="content">
        <table class="layui-table" lay-even="" lay-skin="row">
            <thead>
            <tr>
                <th>活动内容</th>
                <th>开始时间</th>
                <th>结束时间</th>
                <th>商家操作</th>
            </tr>
            </thead>
            <tbody>
            <tr th:each="activity:${activitySelect}">
                <td th:text="${activity.id}" hidden></td>
                <td th:text="${activity.content}"></td>
                <td th:text="${activity.start}"></td>
                <td th:text="${activity.stop}"></td>
                <td>
                    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del" th:href="@{'/storeActivity/delete/'+${activity.id}}">删除</a>
                </td>
            </tr>
        </table>

    </div>
</div>
</body>
</html>